package com.cn.zengzeng.spbzengzeng.utils;

/**
 * @Description:
 * @Author: zhangzengzeng
 * @Date: 2021/10/9 10:02
 */
public interface RedisUtils {
    public String set (String key,String value);

    public String get (String key);

    public String setex (String key,Integer seconds,String value);

    public long ttl (String key);

    public long expire (String key,Integer seconds);

    //hash操作
    public Long hset (String key,String filed,String value);

    public String hget (String key,String field);

    public Long delete(String key);

}
